API Documentation
EffectManager.h
1 // EffectManager.h
3 //
5 
6 namespace nkAstraeus
7 {
13  class EffectManager final : public nkCommon::SingletonClass<EffectManager>
14  {
15  public :
16 
57  Effect* get (const nkMemory::StringView& name) ;
66  Effect* getByIndex (unsigned int id) ;
73  void rename (const nkMemory::StringView& currentName, const nkMemory::StringView& newName) ;
79  void erase (const nkMemory::StringView& name) ;
80  } ;
81 }
nkAstraeus::EFFECT_TYPE
EFFECT_TYPE
Lists all effects supported.
Definition: EffectType.h:12
nkAstraeus::EffectManager::erase
void erase(const nkMemory::StringView &name)
nkAstraeus::EffectManager::createOrRetrieve
Effect * createOrRetrieve(const nkMemory::StringView &name, EFFECT_TYPE type)
nkAstraeus
Encompasses all API of component NilkinsAstraeus.
Definition: Engine.h:7
nkAstraeus::EffectManager::rename
void rename(const nkMemory::StringView &currentName, const nkMemory::StringView &newName)
nkAstraeus::EffectManager::getByIndex
Effect * getByIndex(unsigned int id)
nkAstraeus::Effect
Base class for all effects in the component.
Definition: Effect.h:16
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkAstraeus::EffectManager
Manages the effects available in the component.
Definition: EffectManager.h:14
nkAstraeus::EffectManager::get
Effect * get(const nkMemory::StringView &name)